Mechanically remove QStringRef use for QStringView to help with Qt6. (#722)
authorGPSBabel <12013583+GPSBabelDeveloper@users.noreply.github.com>
Wed, 22 Sep 2021 04:16:30 +0000 (23:16 -0500)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 04:16:30 +0000 (23:16 -0500)
commit518c46ab23d1a12b39f7e8f7983b47dc471e4928
tree308bf537d36cd53f30ff795cfd3aaf85e47b13f5
parent33af8d3915c9afc338b48e218d48bee3f18813fb
Mechanically remove QStringRef use for QStringView to help with Qt6. (#722)

* Make more string literals encoded at UTF-16 (bloaty-bytes) to
reduce conversions.
* Favor QStringView(Qt6-ism that mirrors C++ standard std::stringview)
over QStringRef (Qt5 hack).

Co-authored-by: Robert Lipe <robertlipe@gmail.com>
15 files changed:
defs.h
garmin_tables.cc
geo.cc
gpx.cc
gpx.h
lowranceusr.h
maggeo.cc
mapfactor.cc
osm.cc
pcx.cc
pocketfms_fp.cc
tef_xml.cc
util.cc
xcsv.cc
xmlgeneric.cc